import { request } from '@/utils/request'

import type { RoleQueryData, RoleList } from '@/types/setting'

export function getRoleListApi(params: RoleQueryData) {
  return request<RoleList>('/sys/role', 'get', params)
}
